#pragma once

#include "common/PSingleton.h"
#include <string>
#include <stdint.h>
#include <map>

class CLogicCache : public CSingleton<CLogicCache>
{
	typedef std::map<uint32_t, std::string>				MapErr_t;
public:
	CLogicCache(void);
	~CLogicCache(void);

	const std::string& GetError(uint32_t err);
private:
	MapErr_t			m_ErrorString;
	std::string			m_DefaultErr;
};

